package com.lerays.spider.sougou;

import org.lionsoul.websnail.UrlProcessor;

import com.lerays.spider.sougou.hack.SessionFactory;

/**
 * Wechat url processor. <br />
 * yat, we only have to store the __biz and the uin cause
 * all the api share the same url template like: 
 * 
 * http://mp.weixin.qq.com/mp/getmasssendmsg?__biz={__biz}&uin={uin}&key={key}&f=json
 * 
 * @author chenxin<chenxin619315@gmail.com>
 */
public class SougouUrlProcessor implements UrlProcessor
{
	private SougouSpider sougouSpider = null;
	
	public SougouUrlProcessor( SougouSpider sougouSpider )
	{
		this.setsougouSpider(sougouSpider);
	}
	
	/**
	 * the url is the biz of the public num
	 * 
	 * @see	UrlProcessor#process(String)
	 */
	@Override
	public String process(String url) 
	{
		
		
		return url;
	}

	public SougouSpider getsougouSpider() 
	{
		return sougouSpider;
	}

	public void setsougouSpider(SougouSpider sougouSpider) 
	{
		this.sougouSpider = sougouSpider;
	}
}
